package yl.hs.bmipfull.pojo.salemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * 作用:  销售合同调价单实体类<br/>
 * 创建时间: 2021年06月03日 14时57分41秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "销售合同调价单", mapCode = "contract_price_adjust_doc")
public class ContractPriceAdjustDocEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "销售合同调价单编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "CPAD")
    private String sn;
    /**
     * 合同编号
     */
    private String contractSN;
    /**
     * 调价人编号
     */
    private String handlerSN;
    /**
     * 调价人姓名
     */
    @DBField(disName = "调价人姓名",mapCode = "handlerName")
    private String handlerName;
    /**
     * 调价时间
     */
    @DBField(disName = "调价时间",mapCode = "handlerTime")
    private Date handlerTime;
    /**
     * 备注
     */
    @DBField(disName = "备注",mapCode = "remark")
    private String remark;
    /**
     * 调价状态
     */
    @DBField(disName = "调价状态",mapCode = "state")
    private Short state;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getContractSN() {
        return this.contractSN;
    }

    public void setContractSN(String contractSN) {
        this.contractSN = contractSN;
    }

    public String getHandlerSN() {
        return this.handlerSN;
    }

    public void setHandlerSN(String handlerSN) {
        this.handlerSN = handlerSN;
    }

    public String getHandlerName() {
        return this.handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public Date getHandlerTime() {
        return this.handlerTime;
    }

    public void setHandlerTime(Date handlerTime) {
        this.handlerTime = handlerTime;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }


}